This will be used to replace switches in the remote menu
https://bugzilla.gnome.org/show_bug.cgi?id=698427
const Ornament = {
NONE: 0,
DOT: 1,
+ CHECK: 2,
};
function _ensureStyle(actor) {
if (ornament == Ornament.DOT) {
this._ornamentLabel.text = '\u2022';
this.actor.add_accessible_state(Atk.StateType.CHECKED);
+ } else if (ornament == Ornament.CHECK) {
+ this._ornamentLabel.text = '\u2713';
+ this.actor.add_accessible_state(Atk.StateType.CHECKED);
} else if (ornament == Ornament.NONE) {
this._ornamentLabel.text = '';
this.actor.remove_accessible_state(Atk.StateType.CHECKED);